package com.yuanfeng.activity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.activity.entity.ActivityNoneSlideEntity;
import com.yuanfeng.activity.vo.SelfSupportIndexGoodsVO;
import com.yuanfeng.commoms.vo.goods.NoneGoodsQueryDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.yuanfeng.activity.entity.ActivityNoneSlide
 */
@Mapper
public interface ActivityNoneSlideMapper extends BaseMapper<ActivityNoneSlideEntity> {

    /**
     * 查询商品信息
     * @param commonId
     * @return
     */
    SelfSupportIndexGoodsVO selectByCommonId(Integer commonId);


    /**
     * 新增轮播信息
     * @param slide
     */
    void insertSlideNone(@Param("slide") NoneGoodsQueryDTO slide);


    /**
     * 更新轮播信息
     * @param slide
     */
    void updateSlideNone(@Param("slide") NoneGoodsQueryDTO slide);
}




